/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mapper;

import java.util.List;
import org.apache.ibatis.annotations.Select;
import packageEntities.critere;

/**
 *
 * @author gngueken
 */

public interface CritereMapper {
     @Select("select * from critere")
    List<critere> getAll();
    
    @Select("select * from critere where id = #{toto}")
    critere selectById(int idToGet);
    
}
